import request from '@/utils/request'

export function addNewBorn(data) {
  return request({
    url: '/family_doctor_visit/postpartum/first/upsert',
    method: 'post',
    data
  })
}

//性别
export const sex = [{
            id: 1,
            name: "男",
        },
        {
            id: 2,
            name: "女",
        },
        {
            id: 3,
            name: "未说明性别",
        },
        {
            id: 4,
            name: "未知的性别",
        }
    ]
    //母亲妊娠期患病情况
export const prevalence = [{
            id: 1,
            name: "是",
        },
        {
            id: 2,
            name: "否",
        },
        {
            id: 3,
            name: "不详",
        },
        {
            id: 4,
            name: "其他",
        }
    ]
    //出生情况
export const birthStatus = [{
            id: 1,
            name: "顺产",
        },
        {
            id: 2,
            name: "胎头吸引",
        },
        {
            id: 3,
            name: "产钳",
        },
        {
            id: 4,
            name: "抛宫",
        },
        {
            id: 5,
            name: "双多胎",
        },
        {
            id: 6,
            name: "臀位",
        },
        {
            id: 7,
            name: "其他",
        }
    ]
    //新生儿窒息
export const neonatalAsphyxia = [{
            id: 0,
            name: "无",
        },
        {
            id: 1,
            name: "有",
        }
    ]
    //新生儿听力筛查
export const hearingScreening = [{
            id: 1,
            name: "通过",
        },
        {
            id: 2,
            name: "未通过",
        },
        {
            id: 3,
            name: "未筛查",
        },
        {
            id: 4,
            name: "不详",
        }
    ]
    //新生儿疾病筛查
export const diseaseScreening = [{
            id: 1,
            name: "未进行",
            isDisabled: false
        },
        {
            id: 2,
            name: "检查均阴性",
            isDisabled: false
        },
        {
            id: 3,
            name: "甲低",
            isDisabled: false
        },
        {
            id: 4,
            name: "苯丙酮尿症",
            isDisabled: false
        },
        {
            id: 5,
            name: "先天性肾上腺皮质增生症",
            isDisabled: false
        },
        {
            id: 6,
            name: "葡糖糖-6-磷酸脱氢酶缺乏症",
            isDisabled: false
        },
        {
            id: 7,
            name: "其他遗传代谢",
            isDisabled: false
        }
    ]
    //喂养方式
export const FeedingMethods = [{
            id: 1,
            name: "纯母乳",
            isDisabled: false
        },
        {
            id: 2,
            name: "混合",
            isDisabled: false
        },
        {
            id: 3,
            name: "人工",
            isDisabled: false
        }
    ]
    //大便
export const shit = [{
            id: 1,
            name: "糊状",
            isDisabled: false
        },
        {
            id: 2,
            name: "稀",
            isDisabled: false
        },
        {
            id: 3,
            name: "其他",
            isDisabled: false
        }
    ]
    //面色
export const complexion = [{
            id: 1,
            name: "红润",
            isDisabled: false
        },
        {
            id: 2,
            name: "黄染",
            isDisabled: false
        },
        {
            id: 3,
            name: "其他",
            isDisabled: false
        }
    ]
    //黄疸部位
export const Jaundice = [{
            id: 1,
            name: "无",
            isDisabled: false
        },
        {
            id: 2,
            name: "面部",
            isDisabled: false
        },
        {
            id: 3,
            name: "躯干",
            isDisabled: false
        },
        {
            id: 4,
            name: "四肢",
            isDisabled: false
        },
        {
            id: 5,
            name: "手足",
            isDisabled: false
        }
    ]
    //前囟值
export const anterior = [{
            id: 1,
            name: "正常",
        },
        {
            id: 2,
            name: "膨隆",
        },
        {
            id: 3,
            name: "凹陷",
        },
        {
            id: 4,
            name: "其他",
        },
    ]
    //眼睛
export const eye = [{
            id: 0,
            name: "异常",
            isDisabled: false
        },
        {
            id: 1,
            name: "未见异常",
            isDisabled: false
        },
    ]
    //皮肤
export const skin = [{
            id: 1,
            name: "未见异常",
        },
        {
            id: 2,
            name: "湿疹",
        },
        {
            id: 3,
            name: "糜烂",
        },
        {
            id: 4,
            name: "其他",
        },
    ]
    //脐带
export const umbilicalCord = [{
            id: 1,
            name: "未脱",
        },
        {
            id: 2,
            name: "脱落",
        },
        {
            id: 3,
            name: "脐部有渗出",
        },
        {
            id: 4,
            name: "其他",
        },
    ]
    //指导
export const guidance = [{
            id: 1,
            name: "喂养指导",
        },
        {
            id: 2,
            name: "发育指导",
        },
        {
            id: 3,
            name: "防病指导",
        },
        {
            id: 4,
            name: "预防伤害指导",
        },
        {
            id: 5,
            name: "口腔保健指导",
        },
        {
            id: 6,
            name: "其他",
        }
    ]
    //结果
export const result = [{
        id: 0,
        name: "到位",
        isDisabled: false
    },
    {
        id: 1,
        name: "不到位",
        isDisabled: false
    },
]
